package service

import (
	"github.com/smash-llj/Nexa-server/global"
	"gorm.io/gorm"
)

type BaseService struct {
	Gorm *gorm.DB
}

func NewBaseService() BaseService {
	return BaseService{
		Gorm: global.DB,
	}
}
